package com.cskaoyan.gateway.form.shopping;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author: lsy
 * @class: CartForm
 */
@Data
@ApiModel
public class CartForm {

    /**
     * productId : 100053312
     * salePrice : 299
     * productNum : 1
     * limitNum : 100
     * checked : true
     * productName : 地平线 8 号旅行箱
     * productImg : https://resource.smartisan.com/resource/db4895e45ee6f3339037dbf7200e63f2.png
     */

    @ApiModelProperty(name = "productId", value = "商品id，同时也是商品编号", example = "100053312")
    private Integer productId;
    @ApiModelProperty(name = "salePrice", value = "单价", example = "299")
    private Integer salePrice;
    @ApiModelProperty(name = "productNum", value = "购买数量", example = "1")
    private Integer productNum;
    @ApiModelProperty(name = "limitNum", value = "售卖数量限制", example = "100")
    private Integer limitNum;
    @ApiModelProperty(name = "checked", value = "是否选中", example = "true")
    private String checked;
    @ApiModelProperty(name = "productName", value = "商品名称", example = "地平线 8 号旅行箱")
    private String productName;
    @ApiModelProperty(name = "productImg", value = "商品图片", example = "https://resource.smartisan.com/resource/db4895e45ee6f3339037dbf7200e63f2.png")
    private String productImg;

    public int getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(Integer salePrice) {
        this.salePrice = salePrice;
    }

    public Integer getProductNum() {
        return productNum;
    }

    public void setProductNum(Integer productNum) {
        this.productNum = productNum;
    }

    public Integer getLimitNum() {
        return limitNum;
    }

    public void setLimitNum(Integer limitNum) {
        this.limitNum = limitNum;
    }

    public String getChecked() {
        return checked;
    }

    public void setChecked(String checked) {
        this.checked = checked;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductImg() {
        return productImg;
    }

    public void setProductImg(String productImg) {
        this.productImg = productImg;
    }
}
